Multi-mode voltage regulation with feedback

ABSTRACT

Methods and systems to regulate a voltage with multiple selectable voltage regulator (VR) modes, using multiple corresponding circuits and/or a configurable circuit. The circuit may be configurable for one or more of a power-gate VR mode, a switched-capacitor VR (SCVR) mode, and a linear mode, such as a low drop-out (LDO) VR mode. A feedback controller, such as a proportional-integral-derivative (PID) controller, may configure and/or control a multi-mode VR for a selected VR mode. The feedback controller may select a VR mode based on a reference voltage and voltage ranges associated with the VR modes. The circuit may be configurable as banks of VRs, and the controller may be implemented to transition between VR modes by switching sub-banks between modes until the transition is complete.

BACKGROUND

Power consumption management is important with battery-powered computing and/or communication devices and other devices.

Processor cores and graphics partitions consume significant amounts of power in battery-operated devices. Mobile telephones, for example, may include dual processor cores and tablet computers may include quad processor cores. Future tablet computers may include 8 or more cores. Future systems may also include increasing numbers of applications that run multiple threads to exploit the increasing numbers of processor cores. Graphics processing demands are also expected increase. Each of these factors may impact the rate of battery discharge.

A conventional mobile or battery-powered device may include an external power management IC (PMIC) to provide an off-die regulated voltage rail to a system-on-a-chip (SoC) IC to power all processor cores and a graphics processor or partition within the SoC. The off-die regulated voltage may be referred to as a PMIC VID (power power management IC voltage identification digital).

Such a shared off-die regulated voltage rail may preclude optimization of voltages provided to individual cores. Multiple off-die voltage rails may be generated from an initial off-die regulated voltage to permit per-core optimization, but at the expense of additional per-rail circuitry, such as for guard band and filtering discussed below.

An off-die regulated voltage rail may require more guard band than an on-die regulated voltage to account for variations and/or tolerance requirements in an on-die power delivery path.

An off-die regulated voltage rail may switch at a relatively low frequency, which may be less than 1 mega Hertz (Mhz). This may correspond to relatively bulky filter components having relatively long transient times, which may slow transitions between wake and sleep states of processor cores within the SoC. As a result, cores may be transitioned to a sleep state later than desired, and transitioned to a wake state sooner than necessary, resulting in less time in the sleep state.

Similar issues may arise where a graphics processor or graphics partition includes multiple execution units and memory blocks, collectively referred to herein as graphics processor elements.

Conventional voltage regulators (VRs) include switched-capacitor VRs (SCVRs) and linear VRs, such as low drop-out (LDO) VRs. A given type of VR may be relatively efficient within a designated voltage range, but may be relatively inefficient at voltages outside of the designated range. Each type of VR may include a corresponding VR controller. It may thus be impractical to implement multiple VRs and corresponding VR controllers on-die, for core and/or graphics processor element.

BRIEF DESCRIPTION OF THE DRAWINGS/FIGURES

FIG. 1 is a block diagram of a voltage regulator (VR) including a feedback controller to select and control one of multiple power units (PUs) to regulate a voltage based on a sensed feedback and a reference voltage.

FIG. 2 is a block diagram of a VR including a gated PU, a linear PU, and switched-capacitor PU (SWPU), and a feedback controller.

FIG. 3 is a block diagram of a VR including a feedback controller to configure a circuit in accordance with one of multiple selectable VR modes.

FIG. 4 is a circuit diagram of a bank of configurable circuits.

FIG. 5 is a diagram of circuits of FIG. 4, configured as a switched-capacitor (SC) bank in accordance with an SCVR mode of 1:¾.

FIG. 6 is a diagram of an equivalent circuit of FIG. 5 when a phase φ1 is low and a phase φ2 is high.

FIG. 7 is a diagram of an equivalent circuit of FIG. 5 when phase φ2 is low and phase φ1 is high.

FIG. 8 is a diagram of circuits of FIG. 4 configured as a Sc bank in accordance with an SCVR mode of 1:½.

FIG. 9 is a diagram of an equivalent circuit of FIG. 8 when a phase φ1 is low and a phase φ2 is high.

FIG. 10 is a diagram of an equivalent circuit of FIG. 8 when phase φ2 is low and phase φ1 is high.

FIGS. 11A and 11B are diagrams of circuits of FIG. 4 configured as a SC bank in accordance with an SCVR mode of 1:⅔.

FIG. 12 is a diagram of circuits of FIG. 4, further including an operational amplifier, and configured as low drop-out VR (LDO VR).

FIG. 13 is a diagram of an equivalent circuit of FIG. 12.

FIG. 14 is a diagram of circuits of FIG. 4 configured as a gated VR.

FIG. 15 is a diagram of an equivalent circuit of FIG. 14.

FIG. 16 is a block diagram of a feedback controller to regulate a voltage based on a reference voltage and sensed feedback voltage.

FIG. 17 is a block diagram of a system including a multi-mode VR to regulate a voltage of a power domain of an integrated circuit (IC).

FIG. 18 is a flowchart of a method of controlling a multi-mode VR.

FIG. 19 is a flowchart of a method of controlling a multi-mode VR with respect to one or more of a gated VR mode, a SCVR mode, and a LDO VR mode.

FIG. 20 is a block diagram of a processor system to implement multiple selectable VR modes.

In the drawings, the leftmost digit(s) of a reference number identifies the drawing in which the reference number first appears.

DETAILED DESCRIPTION

FIG. 1 is a block diagram of a multi-mode voltage regulator (VR) 100 including a feedback controller 104 to configure and/or control multiple power units (PUs) 102-1 through 102-n to regulate a voltage at a node 106 based on a selected VR mode, sensed feedback 108, and a reference 110. Controller 104 may include a digital and/or analog feedback controller.

Node 106 may represent a voltage rail of the IC or a sub-rail dedicated to a portion or domain of circuitry within the IC die, such as described below with reference to FIG. 17.

Reference 110 may represent a target voltage for a regulated voltage VOUT at a node 106. Reference 110 may be received as a target voltage and/or a digital code indicative of the target voltage, such as a VID (“voltage identification digital”). Where reference 110 includes a digital code, controller 104 may be implemented to convert the digital code to the target voltage. Reference 110 may be received from a power management system or power management unit (PMU).

PUs 102 may receive power from a power supply or source 112. Where VR 100 is implemented within an integrated circuit (IC) die, source 112 may represent an off-die power source provided through a substrate on which the IC die may be mounted, or an on-die power source, such as a regulated voltage rail of the IC, which may be referred to herein as V_(CC).

PUs 102 may represent corresponding VR mode-specific circuits. Alternatively, or additionally, multiple PUs 102 may represent corresponding configurations, or VR modes, of a configurable circuit such as described below with reference to FIGS. through 15.

At least some of PUs 102 may be represent circuit topologies or VR modes that differ from one another. Example PU circuit topologies, or VR modes are described in examples below. PU topologies and VR modes are not, however, limited to examples provided herein.

At least some of PUs 102 may have operating characteristics or features that differ from one another, and controller 104 may be implemented to select from amongst PUs 102 based the corresponding characteristics and reference 110.

For example, each PU 102 may be associated with a corresponding voltage range, and controller 104 may be implemented to select a PU for which the associated voltage range includes target voltage indicated by reference 110.

The voltage ranges associated with PUs 102 may be based on characteristics such as operating efficiencies and/or controllability within the associated voltage ranges.

PUs 102 may include, for example and without limitation, one or more of a gated or power gate-based PU, a switched-capacitor PU, a linear PU, and/or combinations thereof

FIG. 2 is a block diagram of a VR 200 including a gated PU 202-1, a linear PU 202-2, and switched-capacitor PU (SCPU) 202-3. VR 200 further includes a feedback controller 204 to select, configure, and/or control PUs 202 to regulate VOUT at a node 206 based on a sensed feedback 208 and a reference 210.

Gated PU 202-1 may include multiple gates or switches to couple source 212 to node 206 in parallel with one another. Each gate may include one or more power devices, or power gates, such as one or more transistors sized to provide relatively high current with relatively low loss.

When enabled, a gate may present a relatively small inherent resistance between source 212 and node 206. As more gates are enabled, the resistance may be reduced due to the parallel configuration of the gates. The resistance may directly impact a voltage drop across gated PU 202-1, such that VOUT may be substantially equal to a difference between VIN at source 212 and the voltage drop over gated PU 202-1.

Controller 204 may be implemented to control and/or adjust the number of gates that are enabled to control the resistance and thus regulate VOUT. This may be referred to as modulating the number of enabled gates.

When a relatively substantial number of the gates are enabled, the resistance of gated PU 202-1 may be relatively low and VOUT at node 206 may be substantially equal to VIN at source 212. In this situation, gated PU 202-1 is relatively efficient, and may be more efficient than other PUs, such as linear PU 202-2 and/or SCPU 202-3. Feedback controller 204 may thus be implemented to select gated PU 202-1 when reference 210 represents a target voltage that is near VIN, and/or when a load at node 206 is at a maximum. Selection of gated PU 202-1 may be referred to as a high-performance mode, or a turbo mode.

A control loop may be defined within VR 200 to include controller 204, PU 202-1, and sensed feedback 208. A loop bandwidth may be determined by a clock frequency applied to controller 204. Controller 204 may include a digitally-controlled oscillator to generate the clock frequency, which may provide a higher frequency than a system clock of a corresponding IC die. The oscillator may include a digitally-controllable multi-phase ring oscillator such as described further below.

Linear PU 202-2 may include one or more power devices to provide power to node 206 within a linear range of the device(s). Linear PU 202-2 may further include an operational amplifier (OpAmp) to control the linear device(s) based on a difference between sensed feedback 208 and reference 210. The differential amplifier may be disabled when linear PU 302-1 is not selected, which may conserve power. Linear PU 202-2 may include a low-dropout (LDO) VR.

Controller 204 may be implemented to control SCPU 202-2 as a switched-capacitor VR (SCVR). For example, SCPU 202-3 may include multiple selectable voltage conversion modes, and controller 204 may be implemented to select one of the multiple voltage conversion modes based on reference 210.

SCPU 202-3 may include multiple banks of switched-capacitor circuits, which may be implemented in accordance with one or more of a variety of conventional SC topologies. SCPU 202-3 may be configured and/or configurable for SC modes of, for example, 1:¾, 1:⅔, and 1:½. SCPU 402-3 is not, however, limited to these examples.

Controller 204 may be implemented to control SCPU 203-3 as a switched-capacitor VR (SCVR). Controller 204 may include a digitally-controllable oscillator to provide multiple clock phases to SCPU 202-3, and may be implemented to control the oscillator to minimize a difference between reference 210 and sensed feedback 208.

Linear PU 202-2 may have a relatively high efficiency at mid-range voltages, while SCPU 202-3 may provide greater efficiency at lower voltages. As described above, controller 400 may be implemented to select gated PU 202-1 when reference 210 corresponds to a relatively high target voltage for VOUT. Controller 202 may be further implemented to select linear PU 202-2 to regulate VOUT when reference 210 corresponds to a mid-range target voltage, and to select SCPU 202-3 when reference 210 corresponds to lower target voltage.

Alternatively, SCPU 202-3 may be configurable to operate in a 1:1 mode for mid-range voltages, and linear PU 202-2 may be omitted.

In FIG. 1, VR 100 may include a hybrid PU, which may be configurable and/or controllable to operate in one of multiple selectable VR modes such as described below with reference to FIGS. 3 through 15.

FIG. 3 is a block diagram of a multi-mode VR 300, including a feedback controller 304 to configure and/or control a circuit 302 in accordance with one of multiple selectable VR topologies or modes. VR 300 may further include one or more VR mode-specific PU units such as described in one or more examples above.

Circuit 302 may include multiple individually configurable circuits 316, which may be arranged and/or configurable as one or more banks of circuits 318. Circuits 316 may be substantially similar to one another. Alternatively, or additionally, one or more circuits 316 may differ from one or more other ones of circuits 316. One or more circuits 316 may be implemented as described below with reference to FIG. 4.

FIG. 4 is a circuit diagram of a bank 418 of configurable circuits 416-1 through 416-j.

Circuit 416-1 includes a first P-type device 420-1, controllable to couple a source 412 to a first node 422-1, and a second P-type device 424-1, controllable to couple first node 422-1 to an output node 406. Source 412 may correspond to one or more of sources 112, 212, and 312 in respective ones of FIGS. 1, 2, and 3. Output node 406 may correspond to one or more of nodes 106, 206, and 306 in respective ones of FIGS. 1, 2, and 3.

Circuit 416-1 further includes a capacitor 426-1 coupled to first node 422-1 and to a second node 428-1.

Circuit 416-1 further includes a P-type device 430-1, controllable to couple output node 406 to second node 428-1.

Circuit 416-1 further includes an N-type device 432-1, controllable to couple second node 428-1 to ground or a low logic state.

Circuit 416-1 further includes a P-type device 434-1, controllable to couple second node 428-1 to a third node 436-1, which may correspond to a first node 422-2 of a second circuit 416-2.

In the example of FIG. 4, circuits 416-2 through 416-j are implemented as described above with reference to 416-1.

In FIG. 4, one or more of devices 420, 424, 430, 432, and 434, and capacitor 426, may represent multiple such devices, which may be implemented in parallel and/or in series with one another.

Capacitors 426 may each include one or more relatively high-density on-die capacitors.

In FIG. 3, feedback controller 304 may be implemented to control gate terminals of devices 420, 424, 430, 432, and 434 of each circuit 416 to configure the circuits in accordance with one of multiple selectable VR modes, such as described below with reference to one or more of FIGS. 5 through 15.

FIG. 5 is a diagram of circuits 416-1, 416-2, and 416-3 configured as a switched-capacitor bank 500 to regulate VOUT at node 406 in accordance with an SCVR mode of 1:¾.

Bank 500 may be provided with first and second clock phases, φ1 and φ2, respectively, and an inverted version of phase φ2, illustrated here as φ2. Phases φ1 and φ2 may be generated such that they are not both low at the same time.

One or more additional banks of circuits 416 may be configured similarly to bank 500, and each additional bank may be provided with a corresponding set of phases, which may differ from phases φ1 and φ2. Such a configuration may be referred to as a multi-phase SCVR.

FIG. 6 is an equivalent circuit diagram 600 of bank 500 when phase φ1 is low and phase φ2 is high, referred to herein as phase 1. As illustrated in FIG. 6, during phase 1, capacitors 426 of circuit 416-1, 416-2, and 416-3 are parallel-coupled between source 412 and node 408 to charge each capacitor 426 based on a difference between VIN and VOUT.

FIG. 7 is an equivalent circuit diagram 700 of bank 500 when phase φ2 is low and phase φ1 is high, referred to herein as phase 2. As illustrated in FIG. 7, during phase 2, capacitors 426 of circuit 416-1, 416-2, and 416-3 are series-coupled between node 408 and ground to provide charge from series-coupled capacitors 426 to node 406.

FIG. 8 is a diagram of circuits 416-1, 416-2, and 416-3, configured as a switched-capacitor bank 800 to regulate VOUT at node 460 in accordance with an SCVR mode of 1:½.

Bank 800 may be provided with first and second phases, φ1 and φ2, respectively, and an inverted version of phase φ2, illustrated here as φ2. Phases φ1 and φ2 may be generated such that they are not both low at the same time. Phases φ1 and φ2 in FIG. 8 may be the same or different than phases φ1 and φ2 in FIG. 5.

One or more additional banks of circuits 416 may be configured similarly to bank 800, such as described above with reference to bank 500.

FIG. 9 is an equivalent circuit diagram 900 of bank 800 when phase φ1 is low and phase φ2 is high, referred to herein as phase 1. As illustrated in FIG. 9, during phase 1, capacitors 426 of circuit 416-1, 416-2, and 416-3, are parallel-coupled between source 412 and node 408 to charge each capacitor 426 based on a difference between VIN and VOUT.

FIG. 10 is an equivalent circuit diagram 1000 of bank 800 when phase φ2 is low and phase φ1 is high, referred to herein as phase 2. As illustrated in FIG. 10, during phase 2, capacitors 426 of circuit 416-1, 416-2, and 416-3, are effectively parallel-coupled between node 406 and ground.

FIGS. 11A and 11B are diagrams of circuits 416-1 through 416-6, configured as a switched-capacitor bank 1100 to regulate VOUT at node 406 in accordance with an SCVR mode of 1:⅔.

Bank 1100 may be provided with first and second phases, φ1 and φ2, respectively, and an inverted version of phase φ2, illustrated here as φ2. Phases φ1 and φ2 may be generated such that they are not both low at the same time. Phases φ1 and φ2 in FIGS. 11A and 11B may be the same or different than phases φ1 and φ2 illustrated in FIGS. 5 and 8.

One or more additional banks of circuits 416 may be configured similarly to bank 1100, such as described above with reference to bank 500.

Equivalent circuits for bank 1100 during phases 1 and 2 may be readily ascertained based on an understanding of FIGS. 5 through 10.

FIG. 12 is a diagram of circuits 416-1, 416-2, and 416-3, including an operational amplifier (OpAmp) 1202, configured as a LDO VR 1200. One or more additional banks of circuits 416 may be configured as one or more additional LDO VRs.

FIG. 13 an equivalent circuit diagram 1300 of LDO VR 1200.

In FIGS. 12 and 13, OpAmp 1202 is configured to control devices 420 based on a difference between sensed feedback 408 and a reference 1210. Devices 420 may be controlled to provide charge from source 412 to node 406 within a linear range of devices 420.

FIG. 14 is a diagram of circuits 416-1, 416-2, and 416-3, configured as a gated VR 1400.

FIG. 15 is an equivalent circuit diagram 1500 of gated VR 1400.

In FIGS. 14 and 15, devices 420 are operated as switches to couple source 412 to node 406. A feedback controller 1402 may be implemented to provide a separate enable control 1404 to each of devices 420. Alternatively, or additionally, multiple banks of circuits 416 may each be configured as illustrated in FIG. 14, and feedback controller 1402 may be implemented to provide a corresponding enable control to each bank to selectively enable and disable all devices 420 of a given bank, on a per-bank basis. Feedback controller 1402 may correspond to one or more of controller 104 (FIG. 1), controller 204 (FIG. 2), and controller 304 (FIG. 3).

In examples above, SCVR 500, SCVR 800, LDO VR 1200, and gated VR 1400 are each configured with 3 circuits 416, and SCVR 1100 is configured with 6 circuits 416. Methods and systems disclosed herein are not limited to these examples.

In FIG. 3, controller 304 may be implemented to transition between VR modes, such as to minimize disturbances on VOUT at node 306. For example, controller 304 may initially configure each of multiple banks 318 in accordance with a first VR mode. Thereafter, a second VR mode may be selected based on a change in reference 310. During a transition period, controller 304 may re-configure a first subset of banks 318 in accordance with the second VR mode while maintaining a second subset of banks 318 configured in accordance with the first VR mode. Controller 304 may subsequently re-configure the second subset of banks 318 in accordance with the second VR mode to complete the transition. Controller 304 may include a state machine to mange transitions.

A feedback controller, such as described respect to one or more examples above, may be programmable for each of multiple VR modes such as described below with reference to FIG. 16.

FIG. 16 is a block diagram of a feedback controller 1604, to control one or more VR modes to minimize a difference between a reference 1610 and a sensed feedback 1608.

Controller 1604 may include a flash analog-to-digital converter (flash ADC) 1630 to generate a digital difference code 1632 corresponding to a difference between sensed feedback 1608 and reference 1610. Flash ADC 1630 may be implemented as a windowed flash ADC to generate difference code 1632 with respect to a moving window of time.

Controller 1604 may include a proportional-integral-derivative (PID) controller 1634 to generate a digital control 1636 based on digital difference code 1632 and a selected VR mode. Controller 1604 is not, however, limited to a PID.

Controller 1604 include a mode control logic 1650, which may include mode-specific parameters 1654 for each of multiple VR modes, and PID controller 1634 may be programmed with a set of mode-specific parameters 1654 based on the selected VR mode. Mode-specific parameters 1654 may include PID filter coefficients.

Selectable VR modes may include, without limitation, one or more of a gated VR mode, a SCVR mode, and a LDO VR mode.

When a gated VR mode is selected, digital control 1636 may include a binary-weighted code indicative of a number of gates to be enabled. Controller 1604 may include a decoder 1646 to the convert binary-weighted code to gate enable controls 1648, which may correspond to enable control 1404 in FIGS. 12 and 13.

Controller 1604 may include a digitally-controllable oscillator, illustrated here as a ring oscillator, which may include a multi-phase ring oscillator, to provide clock phase(s) 1644.

When a SCVR mode is selected, phases 1644 or a subset thereof may be applied to SCVR circuitry, such as described above with reference to one or more of FIGS. 5, 8, 11A, and 11B. When the SCVR mode is selected, digital control 1636 may include a phase control 1656 to control the phases applied to the SCVR circuitry.

When a gated VR mode and/or a SCVR mode is selected, one or more of phases 1644 may be provided to digital error handling logic, such as ADC 1630 and/or PID controller 1634. This may be useful, for example, to provide a clock frequency that is higher than a system clock frequency available from circuitry external of controller 504.

Mode control logic 1650 may be implemented to select one of multiple VR modes based on a reference 1610 and voltage ranges associated with the VR modes.

Mode control logic 1650 may be implemented to configure circuitry for a selected VR mode such as described above with reference to one or more of FIGS. 3 through 15.

A multi-mode VR may be implemented to regulate a corresponding power domain of an integrated circuit die, such as described below with reference to FIG. 17.

FIG. 17 is a block diagram of a system 1700, including circuitry 1701 having a multi-mode VR 1702 to regulate a power domain 1704. Circuitry 1701 may correspond to one or more circuit boards, IC dies, or portions thereof.

VR 1702 may regulate a voltage of a rail 1708 in accordance with one of multiple selectable VR modes to reduce a difference between a reference 1710 and a sensed feedback voltage 1712, such as described with respect to one or more examples above.

System 1700 may include a power control unit (PCU) 1718 to provide reference 1710.

Circuitry 1701 may include circuitry 1714 to receive power from voltage rail 1708. The voltage at rail 1708 may be regulated to operate circuitry 1714 in a power-consumption state independent of power-consumption states of other circuitry of system 1700. This may permit more efficient use of available power.

System 1700 may include additional circuitry 1726 to receive power from a second rail 1724, and a second multi-mode VR 1722 to regulate rail 1724. This may permit operating states of circuitry 1714 and 1726 to be individually managed.

For example, circuitry 1714 and 1726 may each include a processor core, and rails 1708 and 1724 may be individually regulated, such as to permit one of the cores to be maintained in an active state or one of multiple power-consumption states, while the other processor core is in a reduced power-consumption state or a sleep state.

Similarly, operating states of multiple memory blocks and/or multiple execution units of a graphics partition may be individually managed.

System 1700 may further include a communication system 1730 to interface between circuitry 1701 and a communication network. Communication system 1730 may include a wired and/or wireless communication system.

System 1700 may further include a monitor or display 1732 to display information from circuitry 1701.

System 1700 may further include a human interface device (HID) 1734 to provide user input to circuitry 1701. HID 1734 may include, for example and without limitation, one or more of a key board, a cursor device, a touch-sensitive device, and or a motion and/or image sensor. HID 1734 may include a physical device and/or a virtual device, such as a monitor-displayed or virtual keyboard.

System 1700 may further include an audio system 1736 to provide an audible output from circuitry 1701 and/or communication system 1730.

System 1700 may include a housing to receive circuitry 1701, communication system 1730, display 1732, audio system 1736, and HID 1734 and/or an interface thereto. The housing may include, without limitation, a rack-mountable housing, a desk-top housing, a lap-top housing, a notebook housing, a net-book housing, a set-top box housing, a hand-held housing, and/or other conventional electronic housing and/or future-developed housing. System 1700 may correspond to, for example and without limitation, a computer system, a server system, and/or a hand-held processor and/or communication device. System 1700 may further include a battery system to provide a power source 1720.

FIG. 18 is a flowchart of a method 1800 of controlling a multi-mode VR.

At 1802, one of multiple VR modes is selected. The VR mode may be selected based on a reference voltage and a voltage range associated with the selected VR mode, such as described in one or more examples above.

At 1804, a multi-mode VR circuit is controlled to regulate a voltage in accordance with the selected VR mode to minimize a difference between the reference voltage and a sensed feedback voltage, such as described in one or more examples above.

FIG. 19 is a flowchart of a method 1900 of controlling a multi-mode VR in accordance with a selectable one of a gated VR mode, a SCVR mode, and a LDO VR mode.

At 1902, one of multiple VR modes is selected. The selecting may include comparing a reference voltage with one or more thresholds and/or threshold ranges associated with the multiple VR modes.

Where the reference voltage corresponds to an upper range voltage, processing may proceed to 1904.

At 1904, a digital difference code may be generated to represent a difference between the reference voltage and a sensed feedback voltage, such as described above with reference to windowed ADC 1630 in FIG. 16.

At 1906, a multi-mode circuit may be configured as multiple switches between a power source and a regulated voltage node, such as described above with reference to FIGS. 14 and 15.

At 1908, a number of the switches to be closed or enabled is determined and/or adjusted based on the digital difference code, such as described above with reference to FIG. 16.

Returning to 1902, where the reference voltage corresponds to a lower range voltage, processing may proceed to 1910.

At 1910, a digital difference code may be generated to represent a difference between the reference voltage and the sensed feedback voltage, such as described above with reference to 1904.

At 1912, the multi-mode circuit may be configured as multiple banks of a switched-capacitor VR (SCVR), such as described above with respect to one or more of FIGS. 5 through 11B.

At 1914, clock phases are provided to the SCVR and digitally controlled based on the digital difference code, such as described above with reference to FIG. 16.

Returning to 1902, where the multi-mode VR circuit is configurable as a low drop-out (LDO) VR, and where the reference voltage corresponds to a mid-range voltage, processing may proceed to 1916.

At 1916, an operational amplifier (OpAmp) of the multi-mode VR circuit may be configured to receive the reference voltage and the sensed feedback voltage.

At 1918, a device of the multi-mode VR circuit may be controlled by the OpAmp, within a linear range of the device, to transfer a regulated charge from the power source to the regulated voltage node, such as described above with reference to FIGS. 12 and 13.

Where the reference voltage changes, processing may switch at 1902 from one VR mode or branch of method 1900 to another VR mode or branch. The switch may be controlled to minimize disturbances at the regulated voltage node, such as described in one or more examples above.

One or more features disclosed herein may be implemented in hardware, software, firmware, and combinations thereof, including discrete and integrated circuit logic, application specific integrated circuit (ASIC) logic, and microcontrollers, and may be implemented as part of a domain-specific integrated circuit package, and/or a combination of integrated circuit packages. Software may include a computer readable medium encoded with a computer program including instructions to cause a processor to perform one or more functions in response thereto. The computer readable medium may include a transitory and/or non-transitory medium. The processor may include a general purpose instruction processor, a controller, a micro-controller, or other instruction-based processor.

FIG. 20 is a block diagram of a processor system 2000 configured as a multi-mode VR controller.

Processor system 2000 may be implemented to regulate a selected VR mode with a control 2010 based on a digital difference code 2012 and a selected VR mode. Control 2010 may correspond to digital control 1636 in FIG, and digital difference code 2012 may correspond to digital difference code 1632 in FIG. 16.

Processor system 2000 may include one or more instruction processing units, illustrated here as a controller 2002, which may include a processor, a processor core, or a micro-controller fabricated within an IC die of a multi-mode VR.

Computer system 2000 may include memory, cache, registers, and/or storage, illustrated here as memory 2004.

Memory 2004 may include a non-transitory computer readable medium encoded with a computer program, including instructions 2006 to be executed by controller 2002.

Instructions 2006 may be embedded within firmware to be copied to memory during runtime.

Memory 2004 may include data 2008 to be used by controller 2002 in executing instructions 2006, and/or generated by controller 2002 during execution of instructions 2006.

Instructions 2006 may include controller instructions 2014, described below as proportional-integral-derivative (PID) controller instructions. Controller instructions 2014 are not, however, limited to PID instructions.

PID instructions 2014 may include instructions to cause controller 2002 to generate control 2010 based on a weighted sum of difference code 2012, an accumulated value 2018 of difference code 2012, and a predicted future value 2020 of difference code 2012, or a subset thereof.

PID instructions 2014 may include PID configuration instructions to cause controller 2002 to generate control 2010 based on VR mode-specific filter coefficients, illustrated here as gated VR PID filter coefficients 2022 and SCVR PID filter coefficients 2024, such as described above with reference to FIG. 16.

Instructions 2006 may include circuit configuration instructions 2026 to cause controller 2002 to configure a multi-mode VR circuit in accordance with a selected one of multiple VR modes. Data 2008 may include circuit configuration parameters, which may include indications of switches to be opened and/or closed to configure a multi-mode VR circuit, such as described above with reference to one or more of FIGS. 3 through 15. In the example of FIG. 20, circuit configuration parameters include gated VR circuit configuration parameters 2028, SCVR circuit configuration parameters 2030, and LDO VR circuit configuration parameters 2032.

Circuit configuration instructions 2026 may include instructions to cause controller 2002 to select a VR mode based on a reference voltage, such as described in one or more examples above.

Methods and systems are disclosed herein with the aid of functional building blocks illustrating the functions, features, and relationships thereof. At least some of the boundaries of these functional building blocks have been arbitrarily defined herein for the convenience of the description. Alternate boundaries may be defined so long as the specified functions and relationships thereof are appropriately performed.

While various embodiments are disclosed herein, it should be understood that they have been presented by way of example only, and not limitation. It will be apparent to persons skilled in the relevant art that various changes in form and detail may be made therein without departing from the spirit and scope of the methods and systems disclosed herein. Thus, the breadth and scope of the claims should not be limited by any of the example embodiments disclosed herein. 

1. An apparatus, comprising: a multi-mode voltage regulator (VR) configurable in accordance with multiple VR modes; and a feedback controller to select one of the multiple VR modes based on a reference voltage and voltage ranges associated with the corresponding VR modes, and to configure the multi-mode VR to regulate a voltage in accordance with the selected VR mode to minimize a difference between the reference voltage and a sensed feedback voltage.
 2. The apparatus of claim 1, wherein the multiple VR modes include a gated VR mode, and wherein; the feedback controller is implemented to configure the multi-mode VR as multiple switches each having a first contact coupled to a power source and a second contact coupled to a regulated voltage node when the gated VR mode is selected; and the feedback controller is implemented to determine a number of the switches to be closed based on a digital difference code indicative of the difference between the reference voltage and the sensed feedback voltage when the gated VR mode is selected.
 3. The apparatus of claim 1, wherein the multiple VR modes include a switched-capacitor VR (SCVR) mode, and wherein: the feedback controller includes a digitally controllable multi-phase oscillator; the feedback controller is implemented to configure the multi-mode VR circuit as multiple banks of switched-capacitor circuits, each to receive a corresponding set of clock phases from the oscillator when the SCVR mode is selected; and the feedback controller is further implemented to control the oscillator based on a digital difference code indicative of the difference between the reference voltage and the sensed feedback voltage when the SCVR mode is selected.
 4. The apparatus of claim 1, wherein the multiple VR modes include a low drop-out VR (LDO VR) mode, and wherein; the multi-mode VR includes an operational amplifier (OpAmp); and the feedback controller is implemented to perform the following when the LDO VR mode is selected, configure the multi-mode VR as a linear device having a first contact coupled to a power source and a second contact coupled to a regulated voltage node, provide the reference voltage and the sensed feedback voltage as inputs to the OpAmp, and provide an output of the OpAmp to a control terminal of the linear device.
 5. The apparatus of claim 1, wherein: the multiple VR modes include a gated VR mode and a switched-capacitor VR mode; and the feedback controller is implemented to select the gated VR mode when the reference voltage is within a first range and to select the SCVR mode when the reference voltage is within a second range that is lower than the first range.
 6. The apparatus of claim 5, wherein: the multiple-mode VR further include a low drop-out (LDO) VR mode; and the feedback controller is implemented to select the LDO VR mode when the reference voltage is within a third range that is between the first and second ranges.
 7. The apparatus of claim 1, wherein the multi-mode VR includes multiple banks of multi-mode VR circuits, each configurable to regulate the voltage in accordance with the multiple VR modes, and wherein the feedback controller is implemented to: configure each of the banks to regulate the voltage in accordance with a first one of the VR modes; select a second one of the VR modes based on a change in the reference voltage; re-configure a first subset of the banks in accordance with the second VR mode while maintaining a second subset of the banks configured in accordance with the first VR mode during a transition from the first VR mode to the second VR mode; and re-configure the second subset of banks in accordance with the second VR mode to complete the transition.
 8. The apparatus of claim 1, wherein the multi-mode VR includes a transistor device, and wherein the feedback controller is implemented to configure the transistor device as: a switch having a first contact coupled to a power source, a second contact coupled to a regulated voltage node, and a control terminal to receive an enable control from the feedback controller when a gated VR mode is selected; and a switch having a first contact coupled to the power source, a second contact coupled to a capacitor, and a control terminal to receive a clock phase from the feedback controller when a switched-capacitor VR mode is selected.
 9. The apparatus of claim 8, wherein the feedback controller is further implemented to configure the transistor device as: a linear device having a first contact coupled to the power source, a second contact coupled to the regulated voltage node, and a control terminal to receive an output of an operational amplifier (OpAmp) when a low drop-out (LDO) VR mode is selected; wherein the OpAmp is configurable to receive the reference voltage and the sensed feedback voltage as inputs when the LDO VR mode is selected.
 10. The apparatus of claim 1, wherein the feedback controller includes: a windowed flash analog-to-digital controller to output a digital difference code indicative of the difference between the reference voltage and the sensed feedback voltage; a digital controller to generate a digital control based on the digital difference code and the selected VR mode; and a digitally-controllable multi-phase ring oscillator to generate one or more clock phases based on the digital control; wherein the multi-mode VR is controllable with the digital code when a gated VR mode is selected; and wherein the multi-mode VR is controllable with the multiple clock phases when a switched-capacitor VR mode is selected.
 11. A system, comprising: an integrated circuit (IC) die; a first multi-mode voltage regulator (VR) configurable in accordance with multiple VR modes to regulate a voltage of a first voltage rail; a first feedback controller to select one of the multiple VR modes of the first multi-mode VR based on a first reference voltage and voltage ranges associated with the corresponding VR modes, and to configure the first multi-mode VR to regulate the voltage of the first voltage rail in accordance with the selected VR mode to minimize a difference between the reference voltage and a sensed feedback voltage; first circuitry to receive power from the first voltage rail; and a power control unit to provide the first reference voltage; wherein the first multi-mode VR, the first feedback controller, the circuitry, and the power control unit are implemented within the IC die.
 12. The system of claim 11, further including: a second multi-mode VR configurable in accordance with multiple VR modes to regulate a voltage of a second voltage rail; a second feedback controller implemented similar to the first feedback controller to control the second multi-mode VR based on a second reference voltage; second circuitry to receive power from the second voltage rail; and a graphics processor multi-core processor; wherein the first and second circuitry each includes one or more of a processor core, a graphics partition, and a memory block.
 13. The system of claim 11 or claim 12, further including: a processor within the IC die; a communication system to interface between the processor and a communication network; a display to present information from the processor; and a human interface device (HID) to provide user input to the processor.
 14. The system of claim 13, wherein the communication system includes a wireless communication system, the system further including: a mobile hand-held housing to receive the IC die, the communication system, the display, and a battery to provide power to the first voltage rail.
 15. (canceled)
 16. (canceled)
 17. (canceled)
 18. (canceled)
 19. (canceled)
 20. (canceled)
 21. (canceled)
 22. (canceled)
 23. (canceled)
 24. A non-transitory computer readable medium encoded with a computer program, including control instructions to cause a controller to: generate a digital control to control a multi-mode voltage regulator (VR) to regulate a voltage in one or more of multiple selectable VR modes based on corresponding VR mode parameters and a digital difference code indicative of a difference between a reference voltage and the regulated voltage.
 25. The computer readable medium of claim 15, wherein the multi-mode VR includes a gated VR mode to couple a power source to a regulated voltage node through multiple switches, and wherein the control instructions include instructions to cause the controller to: generate the digital control to include an indication a number of the switches to enable when the gated VR mode is selected.
 26. The computer readable medium of claim 15, wherein multi-mode VR includes a switched-capacitor VR (SCVR) mode, and wherein the control instructions include instructions to cause the controller to: control a digitally-controllable multi-phase oscillator when the SCVR mode is selected.
 27. The computer readable medium of claim 18, wherein the instructions include configuration instructions to cause the controller to: configure the multi-mode VR as a gated VR to couple a power source to a regulated voltage node through multiple switches when a gated VR mode is selected; and configure multi-mode VR as a switched-capacitor VR (SCVR) when a SCVR mode is selected.
 28. The computer readable medium of claim 18, wherein the configuration instructions further include instructions to cause the controller to: configure the multi-mode VR as a low drop-out (LDO) VR to regulate the voltage in a linear mode when a LDO mode is selected.
 29. The computer readable medium of claim 15, further including selection instructions to cause the controller to: select one of the multiple VR modes based on the reference voltage and voltage ranges associated with the VR modes. 